package com.test.bean;

import java.io.Serializable;
import java.util.Date;

import org.springframework.stereotype.Component;

//@Service
//@Repository
@Component
public class Student implements Serializable{

	private static final long serialVersionUID = 1L;
	private String student_id="";
	private String student_name;
	private Date student_birth;
	private String studentName;
	private Date birthday;
	private String teacher_id;
	private Teacher teacher; //一个学生只有一个导师

	public String getStudent_name() {
		return student_name;
	}
	public void setStudent_name(String student_name) {
		this.student_name = student_name;
	}
	public Date getStudent_birth() {
		return student_birth;
	}
	public void setStudent_birth(Date student_birth) {
		this.student_birth = student_birth;
	}
	public String getStudent_id() {
		return student_id;
	}
	public void setStudent_id(String student_id) {
		this.student_id = student_id;
	}
	public String getStudentName() {
		return studentName;
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getTeacher_id() {
		return teacher_id;
	}
	public void setTeacher_id(String teacher_id) {
		this.teacher_id = teacher_id;
	}
	public Teacher getTeacher() {
		return teacher;
	}
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

}
